package com.zhuiyun.project.api.articlereport.service;


import com.zhuiyun.project.api.articlereport.model.ReportModel;
import com.zhuiyun.project.api.dict.entity.DictData;
import com.zhuiyun.project.util.pageUtil.PageRequest;
import com.zhuiyun.project.util.pageUtil.PageResult;

import java.util.List;

/**
 * @ClassName ArticleService
 * @Description TODO
 * @Author 韩佳轩
 * @Date 2023/6/15 10:35
 **/
public interface ReportService {


    /**
     * @Author 韩佳轩
     * @Description 举报文章
     * @Date 2023/6/16 10:15
     * @Return com.zhuiyun.project.util.pageUtil.PageResult
     * @param reportModel
     */
    PageResult reportAll(ReportModel reportModel, PageRequest pageRequest);
    /**
    * @Author 韩佳轩
    * @Description 同意举报
    * @Date 2023/6/26 10:23
    * @Return int
    * @param id
    */
    int updateAgree(int id,String processorName,String rejectionReason);

    /**
    * @Author 韩佳轩
    * @Description 驳回举报
    * @Date 2023/6/26 10:23
    * @Return
    * @param reportModel
    */
    int updateReject(ReportModel reportModel);

    int addReport(ReportModel reportModel);
    List<DictData> getReportType(DictData dictData);
}
